package edu.webtech.project.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import edu.webtech.project.shared.FileDataDTO;

public interface FileServiceAsync {
	
	public void getFileUploadURL(AsyncCallback<String> callback) 
			throws IllegalArgumentException;
	
	public void getAllFiles(AsyncCallback<List<FileDataDTO>> callback) 
			throws IllegalArgumentException;
	
	public void searchFiles(String fileName, String semesterName, String courseName, AsyncCallback<List<FileDataDTO>> callback)
	throws IllegalArgumentException;
	
	

	public void uploadFilesInfo(String fileName, String semesterName, String courseName, String url, AsyncCallback<Void> callback) 
			throws IllegalArgumentException;
}
